package com.thecafetechno.util;

import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;

public class HibernateUtil {

	static SessionFactory sessionFactory;

	public static SessionFactory getSessionFactory() {
		return sessionFactory;
	}
	static {
		sessionFactory = new Configuration().configure().buildSessionFactory();
	}
}
